/**
 *
 */
package com.fqh.commons.shiro;

import java.io.Serializable;
import java.util.Set;


public class ShiroUser implements Serializable {
    private static final long serialVersionUID = -1373760761780840081L;
    
    private int id;

    private String username;
    private Set<String> urlSet;
    private Set<String> roles;

    public ShiroUser(String username) {
        this.username = username;
    }

    public ShiroUser(int id,  String username, Set<String> urlSet) {
        this.id = id;
        this.username = username;
        this.urlSet = urlSet;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }


    public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Set<String> getUrlSet() {
        return urlSet;
    }

    public void setUrlSet(Set<String> urlSet) {
        this.urlSet = urlSet;
    }

    public Set<String> getRoles() {
        return roles;
    }

    public void setRoles(Set<String> roles) {
        this.roles = roles;
    }

}